import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
const app = createApp(App);

// Element Plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn';
app.use(ElementPlus,{
  locale: zhCn
})

// Pinia
import pinia from '@/store/index';
app.use(pinia)

// Router
import router from '@/router/index';
app.use(router)

// 打包组件
import qucikAdmin from '@/components/quick-admin/dist/qa.es.js';  
app.use(qucikAdmin,{login:{url:"/login"}})

// 挂载
app.mount('#app')
